import java.io.File;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2024-03-10
 * Time: 10:22
 */
public class IODemo4 {
    public static void main(String[] args) {
        File file = new File(".");
        String[] files = file.list();
        System.out.println(files);//打印出来的不叫地址,叫哈希值(hashcode);
        System.out.println(Arrays.toString(files));
    }
}
